// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  compatibilityDate: "2025-07-15",
  devtools: { enabled: true },
  modules: ["@element-plus/nuxt", "@unocss/nuxt", "nuxt-mongoose"],
  elementPlus: {},
  mongoose: {
    uri: process.env.MONGODB_URI,
    options: {
      dbName: "qaDatabase",
    },
    modelsDir: "server/models",
    devtools: true,
  },
  css: ["~/assets/style/common.scss"],
});
